package com.kingdee.eas.dahua.exponent;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class AreaCompanyFactory
{
    private AreaCompanyFactory()
    {
    }
    public static com.kingdee.eas.dahua.exponent.IAreaCompany getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.dahua.exponent.IAreaCompany)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("AA2AECC0") ,com.kingdee.eas.dahua.exponent.IAreaCompany.class);
    }
    
    public static com.kingdee.eas.dahua.exponent.IAreaCompany getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.dahua.exponent.IAreaCompany)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("AA2AECC0") ,com.kingdee.eas.dahua.exponent.IAreaCompany.class, objectCtx);
    }
    public static com.kingdee.eas.dahua.exponent.IAreaCompany getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.dahua.exponent.IAreaCompany)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("AA2AECC0"));
    }
    public static com.kingdee.eas.dahua.exponent.IAreaCompany getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.dahua.exponent.IAreaCompany)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("AA2AECC0"));
    }
}